package cn.wzl.tanks.abstractfactory;

import cn.wzl.tanks.Dir;
import cn.wzl.tanks.Group;

import java.awt.*;

/**
 * @author weiZhiLin
 * @version 1.0
 * @date 2021/6/7 21:19
 */
public abstract class BaseFactory {

    public abstract BaseBoom creatBoom(int x, int y, Frame frame);

    public abstract BaseBullet creatBullet(int x, int y, Dir dir, Frame frame, Group group);

    public abstract BaseTank creatTank(int x, int y, Dir dir, Frame frame, Group group);
}
